<!--登录失败页面-->
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>出现问题咯</title>

    <script>
        window.onload=function (){
            var reason=sessionStorage.getItem("FailureReason");
            var fh=document.getElementById('failurereason');
            if (reason=='AdminLoginFailure'){
                fh.innerHTML='管理员登录失败';
            }else if (reason=='LoginFailure'){
                fh.innerHTML='用户登录失败';
            }else {
                fh.innerHTML='未知错误！请联系管理员';
            }

        }
    </script>

</head>
<body>
<link href="CSS/HomePage.css" type="text/css" rel="stylesheet">
<h2 id="failurereason"></h2>
<h2><a href="Login_Custom.html">点击返回顾客登录界面</a></h2>
<br>
<h2><a href="Login.html">点击返回管理员登录界面</a></h2>
</body>
</html>